package Objects;

public class Logger {
	public static final int ALL = 0;
	public static final int DEBUG = 1;
	public static final int ERROR = 2;
	
	public static boolean debug = false;
	public static boolean error = true;
	
	public static void log(int level, Object message){
		if(level == ALL){
			System.out.println(message);
		}
		if(level == DEBUG && debug){
			System.out.println(message);
		}
		if(level == ERROR && error){
			System.out.println(message);
		}
	}
}
